package base.exception;

import lombok.Getter;

/**
 * @author liujia
 */
public class BaseException extends RuntimeException {
    @Getter
    private String code;

    public BaseException() {
        super();
    }
    public BaseException(String code, String message) {
        super(message);
        this.code = code;
    }
    public BaseException(String code, String message, Throwable cause) {
        super(message, cause);
        this.code = code;
    }
}
